package com.yiwenup.exception.enums;

import com.yiwenup.exception.enums.basic.IException;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 业务层 - 异常枚举
 **/
@Getter
@AllArgsConstructor
public enum ExceptionEnum implements IException {
    SYSTEM_EXCEPTION("000001", "系统异常，请联系管理员"),
    ;

    /**
     * 异常编码
     */
    private final String code;
    /**
     * 异常描述
     */
    private final String desc;
}
